package com.ld.control.business.equipment.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 设备孔位映射表
 * </p>
 *
 * @author wangfeng
 * @since 2025-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("equipment_hole_position_convert")
@Schema(description = "设备孔位映射表")
public class EquipmentHolePositionConvertModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "设备id")
    private Long equipmentId;

    @Schema(description = "关联的点位信息")
    private Long robotPointId;

    @Schema(description = "需要检测的孔位")
    private Integer holePosition;

    @Schema(description = "上样的孔位")
    private Integer mappingHolePosition;


    public static final String ID = "id";

    public static final String EQUIPMENT_ID = "equipment_id";

    public static final String ROBOT_POINT_ID = "robot_point_id";

    public static final String HOLE_POSITION = "hole_position";

    public static final String MAPPING_HOLE_POSITION = "mapping_hole_position";

}
